var Client = require('mysql').Client;
client = new Client();

DATABASE = 'golf_db_v2';
TABLE_NAME = 'golf_course';

client.user = 'root';
client.password = '';

client.query('USE ' + DATABASE);

client.query('SELECT * FROM ' + TABLE_NAME + ' limit 0,2',function tmp(err,results,fields){
	console.log(results[0].c_name);
	client.end();
});




/*
function word(value){
	console.log(value);
}

function execute(someFunction,value){
	someFunction(value);
}

execute(word,'test');
*/